package c.e.a.a.f.p.i;

import android.database.Cursor;
import android.util.Base64;
import c.e.a.a.a;
import c.e.a.a.f.h;
import c.e.a.a.f.p.i.t.b;
import java.util.ArrayList;

/* compiled from: SQLiteEventStore */
public final /* synthetic */ class p implements b {
    public static final p a = new p();

    public Object a(Object obj) {
        Cursor cursor = (Cursor) obj;
        a aVar = t.e;
        ArrayList arrayList = new ArrayList();
        while (cursor.moveToNext()) {
            byte[] bArr;
            h.a a = h.a();
            a.b(cursor.getString(1));
            a.c(c.e.a.a.f.s.a.b(cursor.getInt(2)));
            String string = cursor.getString(3);
            if (string == null) {
                bArr = null;
            } else {
                bArr = Base64.decode(string, 0);
            }
            c.e.a.a.f.b.b bVar = (c.e.a.a.f.b.b) a;
            bVar.b = bArr;
            arrayList.add(bVar.a());
        }
        return arrayList;
    }
}
